<!DOCTYPE html>
<!-- saved from url=(0121)http://m.shensuantang.com/peidui/index/xingming.html?xm_nan=%E5%A7%9C%E6%98%8E%E7%A4%BC&xm_nv=%E6%9D%8E%E6%85%A7%E6%85%A7 -->
<html class="pixel-ratio-2 retina" style="font-size: 64px;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="applicable-device" content="mobile">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta http-equiv="Cache-Control" content="no-transform">
<title>姓名缘份屋</title>
<meta name="keywords" content="姓名缘分测试，姓名缘分配对，姓名配对测试，姓名缘分算命，姓名缘分指数测试"><meta name="description" content="姓名数理暗藏着周易命理玄机，神算堂出品的免费姓名缘分配对测试是根据姓名学进行推衍，来分析您和异性朋友的姓名缘分，可以测算出你和另一个人的姓名爱情缘份，限定于情侣姓名配对测试"><link rel="stylesheet" href="./peidui_files/weui.min.css">
<link rel="stylesheet" href="./peidui_files/jquery-weui.css">
<link rel="stylesheet" href="./peidui_files/style.css">
<link rel="stylesheet" href="./peidui_files/iconfont.css">
<!-- 上传图片css -->
<script src="./peidui_files/jquery-2.1.4.js"></script>
<script src="./peidui_files/fastclick.js"></script>
<script src="./peidui_files/jquery-weui.js"></script>

<script src="./peidui_files/layer.js"></script><link href="./peidui_files/layer.css" type="text/css" rel="styleSheet" id="layermcss"> <!--弹窗组件-->
<script src="./peidui_files/parallax.min.js"></script>
<script src="./peidui_files/jquery-mvalidate.js"></script>
<script src="./peidui_files/swiper.min.js"></script>
<script src="./peidui_files/form-yz.js"></script>
<!-- 苹果专用 -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="神算堂">
<link rel="apple-touch-icon" href="http://m.shensuantang.com/Public/sstm/imagesm/icon/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="76x76" href="http://m.shensuantang.com/Public/sstm/imagesm/icon/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="120x120" href="http://m.shensuantang.com/Public/sstm/imagesm/icon/touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="152x152" href="http://m.shensuantang.com/Public/sstm/imagesm/icon/touch-icon-ipad-retina.png">
<!-- 页面header钩子，一般用于加载插件CSS文件和代码 -->
</head>
<body ontouchstart="">
<script type="text/javascript">
    var html= $('html');
    var hW = html.outerWidth() > 640 ? 640 : html.outerWidth();
    _rem = hW/10;
    html.css('fontSize',_rem);
    $(function() {
        FastClick.attach(document.body);
    });
</script>
	<!--头部导航 开始-->



<!--头部导航 结束-->
	

  <link rel="stylesheet" href="./peidui_files/pd.css">
  <div class="wrapper">
    <header><a href="http://m.shensuantang.com/" class="logo"></a>
    <span>
    <!-- <a href="http://m.shensuantang.com/ucenter/member/login.html">登录</a>   -->      </span>
</header>
<div id="imgs">
        
    </div>


    <div class="mpart" style="display:none">
      <div class="vision" style="transform: translate3d(0px, 0px, 0px); transform-style: preserve-3d; backface-visibility: hidden;">
        <div class="s_mide layer" data-depth=".35" style="position: relative; display: block; left: 0px; top: 0px; transform: translate3d(7.15982px, 16.2731px, 0px); transform-style: preserve-3d; backface-visibility: hidden;">
        </div>
      </div>
      <div class="inp_form">
        <div class="inp_area">
            <!-- <form action="http://m.shensuantang.com/peidui/index/xingming.html" method="get" id="formyz"> -->
            <strong>姓名配对</strong>
            <p>姓名配对爱情缘分和配对指数，提前知晓！</p>
            <div class="inpbox">
              <input type="text" name="xm_nan" class="number inp_val is_must" id="boyname" placeholder="男方姓名" required="required">
            </div>
            <div class="inpbox">
              <input type="text" name="xm_nv" class="number inp_val is_must" id="girlname" placeholder="女方姓名" required="required">
            </div>
            <div class="weui-btn-area">
              <input class="weui-btn weui-btn_primary"  onclick="peidui()" value="开始配对">
            </div>
          <!-- </form> -->
        </div>
      </div>
      <div class="vision vision_bottom" style="transform: translate3d(0px, 0px, 0px); transform-style: preserve-3d; backface-visibility: hidden;">
        <div class="s_botm layer" data-depth-x=".1" data-depth-y=".08" style="position: relative; display: block; left: 0px; top: 0px; transform: translate3d(2.04566px, 0.541908px, 0px); transform-style: preserve-3d; backface-visibility: hidden;">
        </div>
        <div class="s_botm layer" data-depth-x=".18" data-depth-y=".15" style="position: absolute; display: block; left: 0px; top: 0px; transform: translate3d(3.68219px, 1.01608px, 0px); transform-style: preserve-3d; backface-visibility: hidden;"></div>
      </div>
    </div>
        <div class="pl_list" id="jieshao" style="display:none">
              <div class="sst-cells__title">姓名配对</div>
              <p>上天安排的最大嘛</p>
              <p>一点心动？ 一点好奇？</p>
              <p>是地久天长，还是匆匆过客？</p>
              <p>快来看看你们的姓名缘分指数</p>
              <p>姓名配对：根据姓名五格数理五行的生助克泄耗关系进行姓名配对，及姓名相互助益力量。姓名配对，不仅可以测试情侣的姓名缘分指数，也可以测试与亲朋好友、同事领导等姓名缘分指数，同时从五格和四运两个方面对姓名产生的性格影响进行简评！</p>
             <!--  <p>姓名配对的基础理论来源于五格姓名学，未配合生辰八字，配对结果仅供休闲参考。俗话说：“百年修得同船渡，千年修得共枕眠”，爱情与友情均需要双方共同珍惜守护，相互包容、相互理解。</p>
              <p> 提示：姓名配对系统目前支持的姓名为国家语委公布的8000多个规范汉字，非规范汉字笔画可能显示为0，其姓名配对结果也将不准确。如果您的姓名不是规范汉字，请更换一个笔画相同的常用字测试。</p> -->
              <p style="font-size:10px"> (结果仅供参考)</p>
          </div>
      <div  id="daan" >
          <h2 class="title">姓名配对结果 </h2>
          <div class="ice ice_2_1">
          </div>
          <article id='article'><ul>
          </article>

          <div class="pl_list" id='first'>
          </div>
          <div class="pl_list tline" id='second'>
          </div>
          <div>
              若显示异常，请检查姓名是否正确
          </div>
        </div>
          <script>
              $('body').scrollTop($('.ice').offset().top);
          </script>
<script src="./peidui_files/fastclick.js"></script>
<script type="text/javascript">
    $('.vision').parallax();
      var t = Date.now();
    //配对函数。  后台解析
	$(function(){
	var boyname=GetQueryString("name1");
	var girlname=GetQueryString("name2");
	peidui(boyname,girlname)

 

sleep(10000);
	})
	function sleep(d){
	while(Date.now - t <= d);
} 
    function peidui(key1,key2){
      //http://m.shensuantang.com/peidui/index/xingming.html

      $.ajax({
        url:'/shop/testpeidui?xm_nan='+key1+'&xm_nv='+key2,
        type:'get',
		    async:false,
        success:function(res){
          console.log(res)
       var el = $( '<div></div>' );
       el.html(res.data);
      var first=$('.pl_list', el);
      var article=$('article', el);
      var second=$("[class='pl_list tline']", el);
      console.log($(article[0]).html())
      console.log($(first[0]).html())
      console.log($(second[0]).html())
      $('#article').html($(article[0]).html());
       $('#first').html($(first[0]).html());
        $('#second').html($(second[0]).html());
      $('#jieshao').hide();
      $('#daan').show();

      // html2canvas(document.querySelector("#daan")).then(canvas => {
      //
      //    canvas.setAttribute('id','thecanvas');
      //    document.body.appendChild(canvas)
      //    var data = Canvas2Image.convertToImage(canvas, canvas.width,canvas.height).getAttribute('src');
      //    console.log(data)
      //    var id=GetQueryString('orderId');
      //    var obj=new Object();
      //    obj.orderId=id;
      //    obj.base64=data
      //    $.ajax({
      //     url:'/shop/xboot/upload/base64',
      //     data:JSON.stringify(obj),
      //     type:'post',
      //     contentType: 'application/json',
      //        async:false,
      //     success:function(res){
      //       console.log(res)
      //     }
      //    })
// });
        }
      })
    }
function GetQueryString(name){    
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");        
 var r = window.location.search.substr(1).match(reg);         
 if (r != null) 
 return decodeURI(r[2]); 
 return null; 
 }

</script>
<!--底部固定导航 结束-->

<script src="./peidui_files/html2canvas.js"></script> 
<script src="./peidui_files/canvas2image.js"></script> 
<script src="./peidui_files/base64.js"></script> 
<div class="hidden"><!-- 用于加载统计代码等隐藏元素 -->
        
</div>



    <div style="display: none;"><!-- 用于加载统计代码等隐藏元素 -->
            </div>

</body></html>